@import url(reset.css);
@import url(border.css);
@import url(animate.css);
@import url(../font/iconfont/iconfont.css);
html, body {
    background: #f9f9f9!important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/**尺寸*/

.w100 {
    width: 100vw;
}

.h100 {
    height: 100vh;
}

._m-2 {
    margin: 2vw 0;
}

.m-2 {
    margin: 2vw;
}

.p-2 {
    padding: 2vw;
}

.p-2_ {
    padding: 0 2vw;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.full-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/**flex结构*/

.d-flex {
    display: flex;
}

/**列表*/

.flex-direction-column {
    flex-direction: column;
}

/*垂直对齐方式*/

.align-items-center {
    align-items: center;
}

/*水平对齐方式 居中*/

.justify-content-center {
    justify-content: center;
}

/*居右*/

.justify-content-end {
    justify-content: flex-end;
}

/*平均分布 正中间*/

.justify-content-around {
    justify-content: space-around;
}

/**两端对齐*/

.justify-content-between {
    justify-content: space-between;
}

/*元素换行*/

.flex-wrap-wrap {
    flex-wrap: wrap
}

/*占位*/

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-25 {
    flex: 0 0 25vw;
    max-width: 25vw;
}

/**带弧度的背景**/

.gradient_top {
    width: 100%;
    height: 25vh;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.gradient_top:after {
    content: '';
    width: 140%;
    height: 25vh;
    position: absolute;
    left: -20%;
    top: 0;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(160deg, #31C9E8, #ABEAFF);
    z-index: 0;
}

.gradient_box {
    position: relative;
    z-index: 2;
}

/**cube样式修改*/

.cube-action-sheet-space {
    height: 5px;
    background-color: rgba(232, 232, 232, 0.4);
}

.cube-dialog-title-def {
    margin: 30px 16px;
}

.cube-dialog-btn_highlight {
    color: #333;
}


.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-block {
    display: block;
    width: 100%;
}

.card {
    background: #FFF;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/*book-read css*/

.default {
    background: rgb(255, 238, 194);
    color: rgb(59, 51, 79);
}

.white {
    background: rgb(221, 221, 221);
    color: rgb(51, 51, 51);
}

.black {
    background: rgb(89, 89, 89);
    color: rgb(193, 193, 193);
}

.gray {
    background: rgb(171, 171, 171);
    color: rgb(0, 0, 0);
}

.yellow {
    background: rgb(255, 252, 201);
    color: rgb(51, 51, 51);
}

.red {
    background: rgb(208, 181, 189);
    color: rgb(51, 51, 51);
}

.green {
    background: rgb(188, 207, 186);
    color: rgb(51, 51, 51);
}

.blue {
    background: rgb(212, 243, 254);
    color: rgb(51, 51, 51);
}